package sanshui.system.trade.pojo.ao;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

@Data
@Builder
@ApiModel(description = "创建网格策略")
@ToString
public class CreateGridTradeAo {
    @ApiModelProperty(value = "代码")
    String code;
    @ApiModelProperty(value = "网格数量")
    String gridNum;
    @ApiParam(required = false, defaultValue ="固定数量的网格交易")
    @ApiModelProperty(value = "网格策略名称")
    String strategyName;
    @ApiParam(required = false, defaultValue = "GRID_TRADE_FIXED_NUM")
    @ApiModelProperty(value = "策略代码")
    String strategyCode;
    @ApiParam(required = true, defaultValue = "10000")
    @ApiModelProperty(value = "管理资金")
    String inputMoney;
    @ApiParam(required = false, defaultValue = "")
    @ApiModelProperty(value = "最低价格")
    String lowest;
    @ApiParam(required = false, defaultValue = "")
    @ApiModelProperty(value = "最高价格")
    String highest;
    @ApiParam(required = true, defaultValue = "A_GU")
    @ApiModelProperty(value = "市场类型")
    String dataMarketType;
    @ApiParam(required = true, defaultValue = "_BACK_TRADE_SINGLE")
    @ApiModelProperty(value = "数据类型")
    String dataLevelKey;
    @ApiParam(defaultValue = "0.000105,0.00001")
    @ApiModelProperty(value = "买入手续费比例,两种,以逗号隔开")
    String feeRateBuy;
    @ApiParam(defaultValue = "0.000105,0.00005,0.00001")
    @ApiModelProperty(value = "卖出手续费比例,三种,以逗号隔开")
    String feeRateSell;
    @ApiParam(defaultValue = "")
    @ApiModelProperty(value = "账户名称")
    String accName;
    @ApiParam(defaultValue = "SINGLE_BK")
    @ApiModelProperty(value = "账户类型")
    String accType;
    @ApiParam(defaultValue = "")
    @ApiModelProperty(value = "账户描述")
    String accDesc;
    @ApiParam(defaultValue = "3")
    @ApiModelProperty(value = "价格保留小数位")
    String priceAround;
    @ApiParam(defaultValue = "0")
    @ApiModelProperty(value = "交易数量保留小数位")
    String numAround;
    @ApiParam(defaultValue = "100")
    @ApiModelProperty(value = "最小交易数量")
    String minTradeNum;
    @ApiParam(defaultValue = "0")
    @ApiModelProperty(value = "买入固定费用")
    String buyFixedFee;
    @ApiParam(defaultValue = "0")
    @ApiModelProperty(value = "卖出固定费用")
    String sellFixedFee;
    @ApiModelProperty(value = "流水号")
    String priKey;
    @ApiParam(defaultValue = "20190101")
    @ApiModelProperty(value = "数据开始时间")
    String startDate;
    @ApiModelProperty(value = "数据结束时间")
    String endDate;
}
